package mianxiangduixiang.Test4.Exam1;

public class Test {
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle(4, 5);
        Cuboid cuboid = new Cuboid(5, 5);
        System.out.println("Rectangle Area:" + rectangle.getArea());
        System.out.println("Cuboid Volume:" + cuboid.getVolume());
    }
}
